package com.dupf.product.rpc;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 服务启动类
 * Created by dupf on 2018/3/14.
 */
public class DupfProductRpcServiceApplication {

    private static final Logger LOGGER = LoggerFactory.getLogger(DupfProductRpcServiceApplication.class);

    public static void main(String[] args) {
        LOGGER.info(">>>>> dupf-product-rpc-service 正在启动 <<<<<");
        new ClassPathXmlApplicationContext("classpath:spring/*.xml");
        LOGGER.info(">>>>> dupf-product-rpc-service 启动完成 <<<<<");

//        Object lock = new Object();
//        // 创建一个 ip-proxy-pool 线程，执行IP代理池
//        IPProxyPool.startExecute(lock);
    }

}

